<div class="floatL leftBlock" >
    <?php if ($models) : ?>    
        <h3>Новые отзывы</h3><br />
	<?php foreach ($models as $review) : ?>
	    <div class="recordRow">
		<img src="<?php echo $review->getUser()->getAvatar() ?>" alt="<?php echo $review->getUser()->getProfileName();?>" class="floatL userPic radius5"/>
		<a href="<?php echo CHtml::normalizeUrl($this->createUrl('review/view', array('id' => $review->getId(), 'url' => $review->getDbData('url')))); ?>" class="recordTitle"><?php echo $review->title; ?></a><br />
		<?php echo CTruncate::trunc($review->content); ?>	    
		<br />
		<div class="clear padTop10"></div>
		<div class="rowInfo overHidden">			    
		    <div class="floatR">
			<?php if ($review->getCategory()) : ?>
	    		<div class="floatL margRight10"><i>Категория:</i> <a href="<?php echo $this->createUrl('/category/view', array('name' => $review->getCategory()->getDbData('name'))) ?>"><i><?php echo $review->getCategory()->getDbData('title'); ?></i></a></div>			
			<?php endif; ?>
			<div class="floatL margRight10"><i>Оценка: <font color="<?php echo ($review->user_rating >= 3 ? "green" : "red"); ?>"><?php echo $review->getDbData('user_rating'); ?></font></i></div>			
			<div class="floatL">		    
			    <img src="<?php echo Yii::app()->theme->baseUrl ?>/images/icons/photo_marker<?php echo ($review->getDbData('has_image') ? '' : '_unactive'); ?>.png" class="marker "/>
			    <img src="<?php echo Yii::app()->theme->baseUrl ?>/images/icons/video_marker<?php echo ($review->getDbData('has_video') ? '' : '_unactive'); ?>.png" class="marker "/>
			    <img src="<?php echo Yii::app()->theme->baseUrl ?>/images/icons/map_marker<?php echo ($review->getDbData('has_map') ? '' : '_unactive'); ?>.png" class="marker "/>									
			</div>
		    </div>
		</div>			
	    </div>	
	    <hr/>
	<?php endforeach; ?>
    <?php endif; ?>
    <div class="clear"></div>
    <div class="padTop10"></div>    
    <div class="taCenter">	
	<?php $this->widget('CLinkPager', array('pages' => $pager, 'cssFile' => false, 'header' => '', 'firstPageLabel' => 'Первая', 'nextPageLabel' => 'Следующая', 'prevPageLabel' => 'Предыдущая', 'lastPageLabel' => 'Последняя')); ?>	
    </div>
</div>